aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]
diff options
context:
space:
mode:
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobalImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected4
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected8
2 files changed, 8 insertions, 4 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobalImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobalImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 2fd5d2de..1fda2e5d 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobalImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobalImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -10,6 +10,8 @@ Custom:
- name: "name"
Custom:
- name: "linking"
- - symbol table [count=0]
+ - symbol table [count=2]
+ - 0: G <Global1> global=0 [ undefined explicit_name binding=global vis=default ]
+ - 1: G <Global2> global=1 [ undefined explicit_name binding=global vis=default ]
Code Disassembly:
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index db3a53e3..4ff3e2f4 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobals(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -4,12 +4,14 @@ module.wasm: file format wasm 0x1
Section Details:
Global[2]:
- - global[0] i32 mutable=1 - init i32=7
- - global[1] i64 mutable=0 - init i64=9
+ - global[0] i32 mutable=1 <Global1> - init i32=7
+ - global[1] i64 mutable=0 <Global2> - init i64=9
Custom:
- name: "name"
Custom:
- name: "linking"
- - symbol table [count=0]
+ - symbol table [count=2]
+ - 0: G <Global1> global=0 [ binding=global vis=default ]
+ - 1: G <Global2> global=1 [ binding=global vis=default ]
Code Disassembly: